package com.zeking.bean;

public class User {

    private boolean check;
    private int uid;
    private String name;
    private String sex;
    private String birthday;
    private String email;
    private String note;
    private boolean isadmin;
    private String password;

    public User() {
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public boolean isIsadmin() {
        return isadmin;
    }

    public void setIsadmin(boolean isadmin) {
        this.isadmin = isadmin;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public User(int uid, String name, String sex, String birthday, String email, String note, boolean isadmin, String password) {
        this.uid = uid;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.email = email;
        this.note = note;
        this.isadmin = isadmin;
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "check=" + check +
                ", uid=" + uid +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", email='" + email + '\'' +
                ", note='" + note + '\'' +
                ", isadmin=" + isadmin +
                ", password='" + password + '\'' +
                '}';
    }
}
